<?php
/*邮件模板设置*/
namespace Act\Os;
use Act\Os\Backend;
use Lib\Page;
class MailTpls extends Backend{
	public function doGet(){
		$mod = model('#MailTpl');
		$count = $mod->searchCount("");
		$page = new Page($count,self::PAGE_SIZE);
		$tpls = $mod->search("",$page->offset,$page->size);
		$this->display('index.php',[
			'tpls'=>$tpls,
		]);
	}
}